package com.ax.business.hemp.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class HempRegisteMast {
    /**
     * 含麻登记ID
     */
    private Long hempRegisteId;

    /**
     * 含麻登记单号
     */
    private String hempRegisteSeq;

    /**
     * 会员ID
     */
    private Long associatorId;

    /**
     * 会员姓名
     */
    private String associatorName;

    /**
     * 身份证号
     */
    private String personId;

    /**
     * 联系电话
     */
    private String patientPhone;

    /**
     * 来源单号
     */
    private String sourceSeq;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 修改时间
     */
    private Date updateDate;

    /**
     * 状态(1：有效；0：注销)
     */
    private Integer flag;
    
    //联表查询(明细)
    private Long hempRegisteDetailId;
    private Long drugId;
    private String drugName;
    private String spec;
    private float price;
    private float number;
    private float money;
    private float remarks;
    
    public Long getHempRegisteDetailId() {
		return hempRegisteDetailId;
	}

	public void setHempRegisteDetailId(Long hempRegisteDetailId) {
		this.hempRegisteDetailId = hempRegisteDetailId;
	}

	public Long getDrugId() {
		return drugId;
	}

	public void setDrugId(Long drugId) {
		this.drugId = drugId;
	}

	public String getDrugName() {
		return drugName;
	}

	public void setDrugName(String drugName) {
		this.drugName = drugName;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public float getNumber() {
		return number;
	}

	public void setNumber(float number) {
		this.number = number;
	}

	public float getMoney() {
		return money;
	}

	public void setMoney(float money) {
		this.money = money;
	}

	public float getRemarks() {
		return remarks;
	}

	public void setRemarks(float remarks) {
		this.remarks = remarks;
	}

	public HempRegisteMast(Long hempRegisteId, String hempRegisteSeq, Long associatorId, String associatorName, String personId, String patientPhone, String sourceSeq, Date createDate, Date updateDate, Integer flag) {
        this.hempRegisteId = hempRegisteId;
        this.hempRegisteSeq = hempRegisteSeq;
        this.associatorId = associatorId;
        this.associatorName = associatorName;
        this.personId = personId;
        this.patientPhone = patientPhone;
        this.sourceSeq = sourceSeq;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.flag = flag;
    }

    public HempRegisteMast() {
        super();
    }

    public Long getHempRegisteId() {
        return hempRegisteId;
    }

    public void setHempRegisteId(Long hempRegisteId) {
        this.hempRegisteId = hempRegisteId;
    }

    public String getHempRegisteSeq() {
        return hempRegisteSeq;
    }

    public void setHempRegisteSeq(String hempRegisteSeq) {
        this.hempRegisteSeq = hempRegisteSeq == null ? null : hempRegisteSeq.trim();
    }

    public Long getAssociatorId() {
        return associatorId;
    }

    public void setAssociatorId(Long associatorId) {
        this.associatorId = associatorId;
    }

    public String getAssociatorName() {
        return associatorName;
    }

    public void setAssociatorName(String associatorName) {
        this.associatorName = associatorName == null ? null : associatorName.trim();
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId == null ? null : personId.trim();
    }

    public String getPatientPhone() {
        return patientPhone;
    }

    public void setPatientPhone(String patientPhone) {
        this.patientPhone = patientPhone == null ? null : patientPhone.trim();
    }

    public String getSourceSeq() {
        return sourceSeq;
    }

    public void setSourceSeq(String sourceSeq) {
        this.sourceSeq = sourceSeq == null ? null : sourceSeq.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}